SmartCrawl\Controllers\Primary_Terms A

Total Complexity 52
Dependencies 4
Dependents 3
Total lines 421
Lines of code 236
Logical lines of code 100
Comment lines 117
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
register_primary_category()
A
45 7 45
make_primary_term()
S
58 6 15
get_post_taxonomies()
S
55 5 19
sanitize_post_type_link()
S
58 5 15
post_link_category()
S
62 4 11
save_primary_term()
S
56 3 20
register_assets()
S
59 3 16
get_taxonomy_data()
S
58 3 16
get_hierarchical_link()
S
58 2 16
get_primary_term()
S
59 2 15
get_post_terms()
S
67 3 8
save_primary_terms()
S
71 2 6
should_run()
S
78 2 3
post_type_link()
S
65 2 8
init()
S
67 1 7
get_term_data()
S
72 1 6
include_selection_template()
S
68 1 10